<meta charset="UTF-8">
<!--视口的设置，让网页能等比例的缩放到对应设备中-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<!--告诉ie浏览器用最新内核去渲染网页-->
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
<title>极致的API管理</title>
<link rel="shortcut icon" href="/static/favicon.ico" type="image/x-icon">
<script src="/static/js/jquery-1.11.0.min.js"></script>
<script src="/static/js/handlebars.min.js"></script>
<script src="/static/layer/layer.js"></script>
<script src="/static/js/common.js"></script>

<link href="/static/toastr/toastr.min.css" rel="stylesheet">
<script src="/static/toastr/toastr.min.js"></script>
<script>
    toastr.options = {
        "closeButton": true,
        "progressBar": true,
    }
</script>

<link href="/static/bootstrap-3.3.7/css/bootstrap.min.css" rel="stylesheet">
<link href="/static/font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet">

<link href="/static/bootstrap-table-1.12.1/dist/bootstrap-table.min.css" rel="stylesheet">
<link href="/static/jquery-treegrid-0.2.0/css/jquery.treegrid.css" rel="stylesheet">

<link href="/static/bootstrap3-editable/css/bootstrap-editable.css" rel="stylesheet"/>

<link href="/static/plugins/bootstrap-select/css/bootstrap-select.min.css" rel="stylesheet">

<!--<link href="/static/zTree_v3/css/awesomeStyle/awesome.css" type="text/css" rel="stylesheet"/>-->
<link href="/static/zTree_v3/css/zTreeStyle/zTreeStyle.css" type="text/css" rel="stylesheet"/>

<link href="/static/ajax/libs/bootstrap-treeview/1.2.0/bootstrap-treeview.min.css" rel="stylesheet">

<link href="/static/ajax/libs/jqgrid/5.5.4/css/ui.jqgrid-bootstrap.min.css" rel="stylesheet">

<script>
    var pathPrefix = '${pathPrefix}';
    var module = '${module}';

    $(function () {
        var message = '${message}';
        var code = '${code}';
        if (message && message.length > 0 && code) {
            if (code == 100) {
                toastr.success(message == 'true' ? '操作成功' : message);
            } else {
                toastr.error(message)
            }
        }

        $('.selectpicker').selectpicker();
    });

    function jqGridOperator(cellvalue, options, rowObject) {
        var edit = '<a href="#" data-rowid="' + options.rowId + '" class="btn-edit btn btn-primary btn-xs"><i class="fa fa-edit"></i></a>';
        var del = '<a href="#" data-rowid="' + options.rowId + '" class="btn-del btn btn-danger btn-xs"><i class="fa fa-trash"></i></a>';
        return edit + " " + del;
    }
</script>
